import { createRouter, createWebHistory } from 'vue-router'

const myDay = () => import('@/views/myDay/index.vue')
const important = () => import('@/views/important/index.vue')
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'myDay',
      component: myDay,
      meta: {
        name: 'myDay',
      },
    },
    {
      path: '/important',
      name: 'important',
      component: important,
      meta: {
        name: 'important',
      },
    },
  ],
})

export default router
